runtime.g.stack (field)

137 uses

	runtime (current package)
		cgo_sigaction.go#L54: 		case sp < g.stack.lo || sp >= g.stack.hi:
		checkptr.go#L81: 	if gp := getg(); gp.stack.lo <= uintptr(p) && uintptr(p) < gp.stack.hi {
		debugcall.go#L34: 	if sp := getcallersp(); !(getg().stack.lo < sp && sp <= getg().stack.hi) {
		mbitmap.go#L1472: 	if gp := getg(); gp.m.curg.stack.lo <= uintptr(p) && uintptr(p) < gp.m.curg.stack.hi {
		mgc.go#L1802: 	if gp.stack.lo <= p2 && p2 < gp.stack.hi {
		mgcmark.go#L306: 		stackfree(gp.stack)
		mgcmark.go#L307: 		gp.stack.lo = 0
		mgcmark.go#L308: 		gp.stack.hi = 0
		mgcmark.go#L766: 	scannedSize := gp.stack.hi - sp
		mgcmark.go#L783: 	state.stack = gp.stack
		mgcmark.go#L790: 		print("scanning async preempted goroutine ", gp.goid, " stack [", hex(gp.stack.lo), ",", hex(gp.stack.hi), ")\n")
		mgcmark.go#L902: 				println("  dead stkobj at", hex(gp.stack.lo+uintptr(obj.off)), "of size", obj.r.size)
		os_linux.go#L167: 	stk := unsafe.Pointer(mp.g0.stack.hi)
		panic.go#L1119: 	if sp != 0 && (sp < gp.stack.lo || gp.stack.hi < sp) {
		panic.go#L1120: 		print("recover: ", hex(sp), " not in [", hex(gp.stack.lo), ", ", hex(gp.stack.hi), "]\n")
		preempt.go#L175: 			gp.stackguard0 = gp.stack.lo + stackGuard
		preempt.go#L378: 	if sp < gp.stack.lo || sp-gp.stack.lo < asyncPreemptStack {
		proc.go#L854: 		mp.gsignal.stackguard1 = mp.gsignal.stack.lo + stackGuard
		proc.go#L1534: 	osStack := gp.stack.lo == 0
		proc.go#L1544: 		size := gp.stack.hi
		proc.go#L1548: 		gp.stack.hi = uintptr(noescape(unsafe.Pointer(&size)))
		proc.go#L1549: 		gp.stack.lo = gp.stack.hi - size + 1024
		proc.go#L1553: 	gp.stackguard0 = gp.stack.lo + stackGuard
		proc.go#L1675: 		stackfree(mp.gsignal.stack)
		proc.go#L1924: 					stackfree(freem.g0.stack)
		proc.go#L2047: 	gp.stack.hi = getcallersp() + 1024
		proc.go#L2048: 	gp.stack.lo = getcallersp() - 32*1024
		proc.go#L2059: 			gp.stack.lo = bounds[0]
		proc.go#L2060: 			gp.stack.hi = bounds[1]
		proc.go#L2063: 	gp.stackguard0 = gp.stack.lo + stackGuard
		proc.go#L2115: 	gp.sched.sp = gp.stack.hi
		proc.go#L2864: 	gp.stackguard0 = gp.stack.lo + stackGuard
		proc.go#L3866: 	gcController.addScannableStack(pp, -int64(gp.stack.hi-gp.stack.lo))
		proc.go#L4017: 	if gp.syscallsp < gp.stack.lo || gp.stack.hi < gp.syscallsp {
		proc.go#L4019: 			print("entersyscall inconsistent ", hex(gp.syscallsp), " [", hex(gp.stack.lo), ",", hex(gp.stack.hi), "]\n")
		proc.go#L4112: 	if gp.syscallsp < gp.stack.lo || gp.stack.hi < gp.syscallsp {
		proc.go#L4117: 			print("entersyscallblock inconsistent ", hex(sp1), " ", hex(sp2), " ", hex(sp3), " [", hex(gp.stack.lo), ",", hex(gp.stack.hi), "]\n")
		proc.go#L4122: 	if gp.syscallsp < gp.stack.lo || gp.stack.hi < gp.syscallsp {
		proc.go#L4124: 			print("entersyscallblock inconsistent ", hex(sp), " ", hex(gp.sched.sp), " ", hex(gp.syscallsp), " [", hex(gp.stack.lo), ",", hex(gp.stack.hi), "]\n")
		proc.go#L4198: 			gp.stackguard0 = gp.stack.lo + stackGuard
		proc.go#L4391: 	gp.stackguard0 = gp.stack.lo + stackGuard
		proc.go#L4463: 			newg.stack = stackalloc(uint32(stacksize))
		proc.go#L4465: 		newg.stackguard0 = newg.stack.lo + stackGuard
		proc.go#L4469: 		*(*uintptr)(unsafe.Pointer(newg.stack.lo)) = 0
		proc.go#L4508: 	if newg.stack.hi == 0 {
		proc.go#L4518: 	sp := newg.stack.hi - totalSize
		proc.go#L4559: 	gcController.addScannableStack(pp, int64(newg.stack.hi-newg.stack.lo))
		proc.go#L4629: 	stksize := gp.stack.hi - gp.stack.lo
		proc.go#L4633: 		stackfree(gp.stack)
		proc.go#L4634: 		gp.stack.lo = 0
		proc.go#L4635: 		gp.stack.hi = 0
		proc.go#L4650: 			if gp.stack.lo == 0 {
		proc.go#L4693: 	if gp.stack.lo != 0 && gp.stack.hi-gp.stack.lo != uintptr(startingStackSize) {
		proc.go#L4698: 			stackfree(gp.stack)
		proc.go#L4699: 			gp.stack.lo = 0
		proc.go#L4700: 			gp.stack.hi = 0
		proc.go#L4704: 	if gp.stack.lo == 0 {
		proc.go#L4707: 			gp.stack = stackalloc(startingStackSize)
		proc.go#L4709: 		gp.stackguard0 = gp.stack.lo + stackGuard
		proc.go#L4712: 			racemalloc(unsafe.Pointer(gp.stack.lo), gp.stack.hi-gp.stack.lo)
		proc.go#L4715: 			msanmalloc(unsafe.Pointer(gp.stack.lo), gp.stack.hi-gp.stack.lo)
		proc.go#L4718: 			asanunpoison(unsafe.Pointer(gp.stack.lo), gp.stack.hi-gp.stack.lo)
		proc.go#L4734: 		if gp.stack.lo == 0 {
		runtime2.go#L422: 	stack       stack   // offset known to runtime/cgo
		signal_unix.go#L557: 	if sp >= mp.gsignal.stack.lo && sp < mp.gsignal.stack.hi {
		signal_unix.go#L569: 	if sp >= mp.g0.stack.lo && sp < mp.g0.stack.hi {
		signal_unix.go#L580: 		st := stackt{ss_size: mp.g0.stack.hi - mp.g0.stack.lo}
		signal_unix.go#L581: 		setSignalstackSP(&st, mp.g0.stack.lo)
		signal_unix.go#L636: 	delayedSignal := *cgo_yield != nil && mp != nil && gsignal.stack == mp.g0.stack
		signal_unix.go#L1043: 	print("mp.gsignal stack [", hex(mp.gsignal.stack.lo), " ", hex(mp.gsignal.stack.hi), "], ")
		signal_unix.go#L1044: 	print("mp.g0 stack [", hex(mp.g0.stack.lo), " ", hex(mp.g0.stack.hi), "], sp=", hex(sp), "\n")
		signal_unix.go#L1237: 		signalstack(&mp.gsignal.stack)
		signal_unix.go#L1325: 		old.stack = gp.m.gsignal.stack
		signal_unix.go#L1331: 	gp.m.gsignal.stack.lo = stsp
		signal_unix.go#L1332: 	gp.m.gsignal.stack.hi = stsp + st.ss_size
		signal_unix.go#L1344: 	gp.stack = st.stack
		stack.go#L862: 	old := gp.stack
		stack.go#L927: 	gp.stack = new
		stack.go#L993: 			" sp=", hex(gp.sched.sp), " stack=[", hex(gp.stack.lo), ", ", hex(gp.stack.hi), "]\n",
		stack.go#L1030: 			gp.stackguard0 = gp.stack.lo + stackGuard
		stack.go#L1035: 	if gp.stack.lo == 0 {
		stack.go#L1043: 	if stackDebug >= 1 || sp < gp.stack.lo {
		stack.go#L1044: 		print("runtime: newstack sp=", hex(sp), " stack=[", hex(gp.stack.lo), ", ", hex(gp.stack.hi), "]\n",
		stack.go#L1048: 	if sp < gp.stack.lo {
		stack.go#L1050: 		print("runtime: split stack overflow: ", hex(sp), " < ", hex(gp.stack.lo), "\n")
		stack.go#L1078: 	oldsize := gp.stack.hi - gp.stack.lo
		stack.go#L1087: 		used := gp.stack.hi - gp.sched.sp
		stack.go#L1106: 		print("runtime: sp=", hex(sp), " stack=[", hex(gp.stack.lo), ", ", hex(gp.stack.hi), "]\n")
		stack.go#L1165: 	if gp.stack.lo == 0 {
		stack.go#L1197: 	oldsize := gp.stack.hi - gp.stack.lo
		stack.go#L1209: 	avail := gp.stack.hi - gp.stack.lo
		stack.go#L1210: 	if used := gp.stack.hi - gp.sched.sp + stackNosplit; used >= avail/4 {
		string.go#L122: 	stk := getg().stack
		traceback.go#L206: 			tracebackHexdump(gp.stack, &frame, 0)
		traceback.go#L472: 			tracebackHexdump(gp.stack, frame, 0)
		traceback.go#L485: 		tracebackHexdump(gp.stack, frame, frame.sp)
		traceback.go#L570: 		print("\tstack=[", hex(gp.stack.lo), "-", hex(gp.stack.hi), "\n")